package com.smedi.ismedi.authoritymanagement.core.port.adapter.persistence.mybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smedi.ismedi.authoritymanagement.core.application.query.vo.RoleMemberVo;
import com.smedi.ismedi.authoritymanagement.core.port.adapter.persistence.model.RoleMemberEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMemberMapper extends BaseMapper<RoleMemberEntity> {
    IPage<RoleMemberVo> selectRoleMemberVoPaginationByPersonIds(Page<RoleMemberVo> page,
                                                                @Param("roleId") Long roleId,
                                                                @Param("personIds") List<List<Long>> personIds);
}
